home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000317_news@columbia.edu _Sat Dec 4 14:04:04 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA22086
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 4 Dec 1999 14:04:03 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA21928
  7.     for kermit.misc@watsun.cc.columbia.edu; Sat, 4 Dec 1999 13:59:05 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: "Christian Jensen" <cejensen@winternet.com>
  10. Subject: Changing directories/overwriting files
  11. Date: Sat, 4 Dec 1999 13:02:10 -0600
  12. Organization: StarNet Communications, Inc.
  13. Message-ID: <82bo81$l3d$1@blackice.winternet.com>
  14. To: kermit.misc@columbia.edu
  15.  
  16. I am new to kermit, and am having trouble with a script that uploads files
  17. from a CCI-DOS machine (running the newest MS-DOS kermit) to an HP-UX server
  18. (running C-Kermit). I am attempting to upload files to one directory, cd to
  19. another and upload files there, then cd to another and upload still more
  20. files to this third directory. The code looks something like this:
  21.  
  22. cd /Net/go/dir1\13
  23. send file1
  24. output cd ..\13
  25. output cd dir2\13
  26. send file2
  27. output cd ..\13
  28. output cd dir3\13
  29. send file3
  30.  
  31. Notice the three directories are all subdirctories off the same directory.
  32. In my current script, the 'cd' commands all fail for some reason, and files
  33. are all deposited in the same directory (the first one).
  34.  
  35. What's wrong with my code? Suggestions welcome.
  36.  
  37. Also, if a file is uploaded to a directory that already contains a file with
  38. that name, rather than overwriting the original (which is what I usually
  39. want), kermit renames the uploaded file by appending a ~1~ to the end of it.
  40. How do I suppress this behavior?
  41.  
  42. I do have the kermit book, but have not found the answers to either of the
  43. above in it.
  44.  
  45. Thanks!
  46.  
  47. --Chris
  48.  
  49. *****************************************
  50. Chris Jensen
  51. cejensen@winternet.com
  52. ASCII mail preferred...
  53.  
  54. "Sacred cows make the best hamburger." --Mark Twain
  55.